local json = require("cjson")

local t = {
    {bookId=1, pageId=2,id="nieqiang-1698457192559",content="这是2559的批注"},
    {bookId=1, pageId=2, id="nieqiang-1698457412116",content="这是另外一个批注"}
}

ngx.say(json.encode(t));